﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

namespace AimGameEngine.NodeEditorObject
{
    partial class PropretyGravity : Form
    {
        NodeGravity nodegravity;
        public PropretyGravity(NodeGravity nodegravity)
        {
            InitializeComponent();
            this.nodegravity = nodegravity;
            this.numValue.Value = (decimal)nodegravity.Strength;
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            nodegravity.Strength = (float)numValue.Value;
        }

    }
}
